package cn.fangline.wo.mapper;

import cn.fangline.wo.model.House;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
  * 房源表 Mapper 接口
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public interface HouseMapper extends BaseMapper<House> {

    public List<House> searchHouse(@Param("section") String section, @Param("cityId") Integer cityId, @Param("corpId") Long corpId);

    public void updateHousePriceById(@Param("houseId") Long houseId,
                                     @Param("totalPrice") Float totalPrice,
                                     @Param("updateTime") Date updateTime);
}